All Scenarios

17

Passed Scenarios

15

Failed Scenarios

2

Execution Time: 1m 36s 898ms

Expand All | Collapse All

Given User navigates to the login page 1s 489ms Screenshot +
                                        
                                        
                                

When User enters a valid username 942ms Screenshot +
                                        
                                        
                                

And User enters a valid password 240ms Screenshot +
                                        
                                        
                                

And User clicks the Login button 547ms Screenshot +
                                        
                                        
                                

Then User should be redirected to the homepage 557ms Screenshot +
                                        
                                        
                                

Then User click on logout 239ms Screenshot +
                                        
                                        
                                

Given User navigates to the login page 1s 913ms Screenshot +
                                        
                                        
                                

When User enters an invalid username 563ms Screenshot +
                                        
                                        
                                

And User enters a valid password 202ms Screenshot +
                                        
                                        
                                

Then User clicks the Login button and capture error message 936ms Screenshot +
                                        
                                        
                                

Given User navigates to the login page 1s 280ms Screenshot +
                                        
                                        
                                

When User enters a valid username 586ms Screenshot +
                                        
                                        
                                

And User enters an invalid password 209ms Screenshot +
                                        
                                        
                                

Then User clicks the Login button and capture error message 1s 73ms Screenshot +
                                        
                                        
                                

Given User navigates to the login page 1s 23ms Screenshot +
                                        
                                        
                                

When the username field is left empty 285ms Screenshot +
                                        
                                        
                                

And the password field is left empty 181ms Screenshot +
                                        
                                        
                                

Then the Login button should be disabled 154ms Screenshot +
                                        
                                        
                                

Given User logs into the app dashboard 2s 868ms Screenshot +
                                        
                                        
                                

When User clicks on Add product 420ms Screenshot +
                                        
                                        
                                

And User enters product details: name, description, price, discount, and upload an image 443ms Screenshot +
                                        
                                        
                                

And User clicks on the Add Product button and confirm success message 1s 142ms Screenshot +
                                        
                                        
                                

Then User confirms the product data is present in the dashboard 991ms Screenshot +
                                        
                                        
                                

Then User click on logout 224ms Screenshot +
                                        
                                        
                                

Given User logs into the app dashboard 3s 281ms Screenshot +
                                        
                                        
                                

When User clicks on Add product 454ms Screenshot +
                                        
                                        
                                

And User enters product details without a product name: description, price, discount, and uploads an image 374ms Screenshot +
                                        
                                        
                                

Then User verifies that the Add Product button is disabled and click on cancel button 297ms Screenshot +
                                        
                                        
                                

Then User click on logout 228ms Screenshot +
                                        
                                        
                                

Given User logs into the app dashboard 3s 331ms Screenshot +
                                        
                                        
                                

When User clicks on Add product 449ms Screenshot +
                                        
                                        
                                

And User enters product details without a product description: product name, price, discount, and uploads an image 425ms Screenshot +
                                        
                                        
                                

Then User verifies that the Add Product button is disabled and click on cancel button 316ms Screenshot +
                                        
                                        
                                

Then User click on logout 289ms Screenshot +
                                        
                                        
                                

Given User logs into the app dashboard 2s 975ms Screenshot +
                                        
                                        
                                

When User clicks on Add product 466ms Screenshot +
                                        
                                        
                                

And User enters product details without a price: product name, description, discount, and uploads an image 420ms Screenshot +
                                        
                                        
                                

Then User verifies that the Add Product button is disabled and click on cancel button 414ms Screenshot +
                                        
                                        
                                

Then User click on logout 311ms Screenshot +
                                        
                                        
                                

Given User logs into the app dashboard 3s 364ms Screenshot +
                                        
                                        
                                

When User clicks on Add product 447ms Screenshot +
                                        
                                        
                                

And User enters product details without a discount: product name, description, price, and uploads an image 350ms Screenshot +
                                        
                                        
                                

Then User verifies that the Add Product button is disabled and click on cancel button 269ms Screenshot +
                                        
                                        
                                

Then User click on logout 282ms Screenshot +
                                        
                                        
                                

Given User logs into the app dashboard 3s 68ms Screenshot +
                                        
                                        
                                

When User clicks on Add product 441ms Screenshot +
                                        
                                        
                                

And User enters product details without a image: product name, description, price, and discount 434ms Screenshot +
                                        
                                        
                                

Then User verifies that the Add Product button is disabled and click on cancel button 5s 321ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 5000 milliseconds at Timeout.(anonymous) (C:\Users\karth\Registration-Login-and-CRUD-Action-using-MERN-stack\testremkarthika\node_modules\@cucumber\cucumber\lib\time.js:64:20) at listOnTimeout (node:internal/timers:588:17) at process.processTimers (node:internal/timers:523:7)
Screenshot +
                                        
                                        
                                

Then User click on logout < 1ms

Given User logs into the app dashboard 3s 43ms Screenshot +
                                        
                                        
                                

When User clicks on Edit product 438ms Screenshot +
                                        
                                        
                                

And User changes all product details: name, description, price, discount, and upload an image 462ms Screenshot +
                                        
                                        
                                

And User clicks on the Edit Product button and confirm success message 1s 267ms Screenshot +
                                        
                                        
                                

Then User confirms the product data is present in the dashboard after edit 1s 8ms Screenshot +
                                        
                                        
                                

Then User click on logout 199ms Screenshot +
                                        
                                        
                                

Given User logs into the app dashboard 3s 80ms Screenshot +
                                        
                                        
                                

When User clicks on Edit product 455ms Screenshot +
                                        
                                        
                                

And User remove the Product Name 247ms Screenshot +
                                        
                                        
                                

Then User verifies that the Edit Product button is disabled and cancel button Enabled 348ms Screenshot +
                                        
                                        
                                

When User clicks on Edit product 433ms Screenshot +
                                        
                                        
                                

And User change only Product Name 269ms Screenshot +
                                        
                                        
                                

And User clicks on the Edit Product button and confirm success message 1s 134ms Screenshot +
                                        
                                        
                                

Then User confirms the product data is present in the dashboard after name 1s 64ms Screenshot +
                                        
                                        
                                

Then User click on logout 210ms Screenshot +
                                        
                                        
                                

Given User logs into the app dashboard 3s 479ms Screenshot +
                                        
                                        
                                

When User clicks on Edit product 453ms Screenshot +
                                        
                                        
                                

And User remove the Product Description 263ms Screenshot +
                                        
                                        
                                

Then User verifies that the Edit Product button is disabled and cancel button Enabled 318ms Screenshot +
                                        
                                        
                                

When User clicks on Edit product 366ms Screenshot +
                                        
                                        
                                

And User change only Product Description 213ms Screenshot +
                                        
                                        
                                

And User clicks on the Edit Product button and confirm success message 1s 351ms Screenshot +
                                        
                                        
                                

Then User confirms the product data is present in the dashboard after description 985ms Screenshot +
                                        
                                        
                                

Then User click on logout 234ms Screenshot +
                                        
                                        
                                

Given User logs into the app dashboard 3s 309ms Screenshot +
                                        
                                        
                                

When User clicks on Edit product 457ms Screenshot +
                                        
                                        
                                

And User remove the Product Price 273ms Screenshot +
                                        
                                        
                                

Then User verifies that the Edit Product button is disabled and cancel button Enabled 369ms Screenshot +
                                        
                                        
                                

When User clicks on Edit product 379ms Screenshot +
                                        
                                        
                                

And User change only Product Price 267ms Screenshot +
                                        
                                        
                                

And User clicks on the Edit Product button and confirm success message 1s 405ms Screenshot +
                                        
                                        
                                

Then User confirms the product data is present in the dashboard after price 1s 116ms Screenshot +
                                        
                                        
                                

Then User click on logout 206ms Screenshot +
                                        
                                        
                                

Given User logs into the app dashboard 3s 278ms Screenshot +
                                        
                                        
                                

When User clicks on Edit product 449ms Screenshot +
                                        
                                        
                                

And User remove the Product Discount 225ms Screenshot +
                                        
                                        
                                

Then User verifies that the Edit Product button is disabled and cancel button Enabled 364ms Screenshot +
                                        
                                        
                                

When User clicks on Edit product 456ms Screenshot +
                                        
                                        
                                

And User change only Product Discount 272ms Screenshot +
                                        
                                        
                                

And User clicks on the Edit Product button and confirm success message 1s 203ms Screenshot +
                                        
                                        
                                

Then User confirms the product data is present in the dashboard after discount 922ms Screenshot +
                                        
                                        
                                

Then User click on logout 210ms Screenshot +
                                        
                                        
                                

Given User logs into the app dashboard 3s 333ms Screenshot +
                                        
                                        
                                

When User clicks on Delete product 256ms Screenshot +
                                        
                                        
                                

Then User verify popup message 1s 110ms Screenshot +
                                        
                                        
                                

Then User click on logout 305ms Screenshot +
                                        
                                        
                                

Given User logs into the app dashboard 2s 831ms Screenshot +
                                        
                                        
                                

When User clicks on Delete product 244ms Screenshot +
                                        
                                        
                                

Then User verify popup message 534ms Screenshot +
                                        
                                        
                                

Then User click on logout 5s 250ms Show Error +
                                            
Error: function timed out, ensure the promise resolves within 5000 milliseconds at Timeout.(anonymous) (C:\Users\karth\Registration-Login-and-CRUD-Action-using-MERN-stack\testremkarthika\node_modules\@cucumber\cucumber\lib\time.js:64:20) at listOnTimeout (node:internal/timers:588:17) at process.processTimers (node:internal/timers:523:7)
Screenshot +